﻿@model wh40klbWeb.Models.InfantryViewModel
@{
    ViewBag.Title = "Details";
}
<fieldset>
    <legend><h2>@Html.DisplayFor(model => model.Name)</h2></legend>
    <table>
        <thead>
            <tr>
                <th> CC</th>
                <th>CT</th>
                <th>F</th>
                <th>E</th>
                <th>PV</th>
                <th>I</th>
                <th>A</th>
                <th>Cmd</th>
                <th>Svg</th>                
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>@Html.DisplayFor(model => model.WeaponSkill)</td>
                <td>@Html.DisplayFor(model => model.BallisticSkill)</td>
                <td>@Html.DisplayFor(model => model.Strengh)</td>
                <td>@Html.DisplayFor(model => model.Thoughness)</td>
                <td>@Html.DisplayFor(model => model.Wounds)</td>
                <td>@Html.DisplayFor(model => model.Initiative)</td>
                <td>@Html.DisplayFor(model => model.Attack)</td>
                <td>@Html.DisplayFor(model => model.Leadership)</td>
                <td>@Html.DisplayFor(model => model.ArmorSave)</td>                
            </tr>
        </tbody>
    </table> 
        
        <fieldset>
            <legend>Description</legend>
            <p>
                @Html.DisplayFor(model => model.Description)
            </p>
        </fieldset>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Id}) |
    @Html.ActionLink("retour a l'armée", "details", "Army", new { id = Model.Army.Id}, null)
</p>
